package com.tedu.bill.demo1;

import java.util.HashSet;

/**
 * Author：毕龙
 * Date: 2024/5/21 14:19
 */
public class TestMain {
    public static void main(String[] args) {
        HashSet<Worker> set = new HashSet<>();
        set.add(new Worker("zhangs",11000));
        set.add(new Worker("zhangs",11000));
        set.add(new Worker("lisi",11000));

        set.forEach(System.out::println);
    }
}
